package cn.zch.soft.controller.searchinfo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;
/**
 * @author zchcpy
 */
@Controller
@RequestMapping("/searchinfo")
public class Searchinfo {
  @RequestMapping("/info")
  public ModelAndView info1(@RequestParam("id") int id, @RequestParam("from") String from) {
    System.out.println("========" + id + from);
    ModelAndView modelAndView = new ModelAndView("device/searchinfo/info");
    return modelAndView;
  }
  @RequestMapping("/analyse")
  public ModelAndView info(@RequestParam("id") int id, @RequestParam("from") String from) {
    System.out.println("========" + id + " " + from);
    ModelAndView modelAndView = new ModelAndView("device/protocol/analyse");
    return modelAndView;
  }
}
